import axios from "axios";

const http = axios.create({
  baseURL: "/hqfy-screen-service",
  timeout: 10 * 1000,
});

http.interceptors.request.use((config) => {
  return config;
});

http.interceptors.response.use((res) => {
  return res.data;
});

export default http;
